package at.sysarch.utils;

import java.util.EventObject;

import at.pimpmypipe.interfaces.Readable;
import at.pimpmypipe.interfaces.Writeable;
import at.sysarch.domain.TransferImage;

public class LinkEvent extends EventObject {
	
	private static final long serialVersionUID = 1L;
	
	private Readable<TransferImage> _input;
	private Writeable<TransferImage> _output;
	
	public LinkEvent(Readable<TransferImage> input) {
		super(input);
		_input = input;
	}
	
	public LinkEvent(Writeable<TransferImage> output) {
		super(output);
		_output = output;	
	}
	
	public LinkEvent(Readable<TransferImage> input, Writeable<TransferImage> output) {
		super(input);
		_input = input;
		_output = output;
	}

	public Readable<TransferImage> getInput() {
		return _input;
	}

	public Writeable<TransferImage> getOutput() {
		return _output;
	}
}